package com.qjc.demo.decorator.service.impl;

import com.qjc.demo.decorator.service.DecoratorPerson;
import com.qjc.demo.decorator.service.PersonService;

/**
 * @ClassName: FlyPersonServiceImpl
 * @Description:
 * @Author: qjc
 * @Date: 2021/8/24 5:50 下午
 */
public class FlyDecoratorPerson extends DecoratorPerson {

    public FlyDecoratorPerson(PersonService personService) {
        super(personService);
    }

    @Override
    public String work() {
        return "添加飞的技能，" + personService.work();
    }
}
